﻿<navigation:Page 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    x:Class="LASGui.Views.Home"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="Home"
    Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">
            <Grid x:Name="Grid" Height="508" Width="640">
            	<Grid Margin="70,0" VerticalAlignment="Center">
            		<StackPanel HorizontalAlignment="Right" Width="231">
            			<Border BorderThickness="1" Height="45">
            				<TextBlock x:Name="ContentText" Style="{StaticResource ContentTextStyle}" 
            					Text="Por favor ingrese sus datos." Margin="0,11,0,0" Width="243"/>
            			</Border>
            			<Border BorderThickness="1" Height="38">
            				<TextBlock x:Name="ContentText1" Style="{StaticResource ContentTextStyle}" 
            					Text="Usuario:" Margin="10,0,0,11" Width="243"/>
            			</Border>
            			<Border BorderThickness="1" Height="45">
            				<TextBox Name="InputUser" TextWrapping="Wrap" Margin="7,-1,23,21" Width="200" FontSize="16"/>
            			</Border>
            			<Border BorderThickness="1" Height="38">
            				<TextBlock x:Name="ContentText3" Style="{StaticResource ContentTextStyle}" 
            					Text="Contraseña:" Margin="7,-1,0,12" Width="243"/>
            			</Border>
            			<Border BorderThickness="1" Height="45">
                            <PasswordBox Name="InputPassword" Margin="7,-1,23,21" Width="200" FontSize="12"/>
            			</Border>
            			<Border BorderThickness="1" Height="38">
            				<TextBlock x:Name="ContentText2" Style="{StaticResource ContentTextStyle}" 
            					Text="Empresa:" Margin="10,0,0,11" Width="243"/>
            			</Border>
            			<Border BorderThickness="1" Height="45">
                            <ComboBox Name="InputSociedad" Width="200" Height="23" Margin="7,-1,22,21" FontSize="16"/>
            			</Border>
                        <Grid Height="39" Margin="41,0">
            				<Rectangle Fill="#FF0384C5" RadiusX="20" RadiusY="30" Margin="-7,-4,7,4" />
                            <HyperlinkButton Style="{StaticResource ButtonStyle}" Content="Iniciar Sesión" FontSize="24"  Margin="6,2,19,2" Click="AuthenticateUser"/>
            			</Grid>
            		</StackPanel>
            		<Rectangle Style="{StaticResource DividerStyle}" HorizontalAlignment="Left" Margin="249,8,0,8" d:LayoutOverrides="Width" Fill="#8A080808"/>
            		<TextBlock HorizontalAlignment="Left" Height="52" Margin="17,30,0,0" TextWrapping="Wrap" Text="Bienvenido" VerticalAlignment="Top" Width="211" FontSize="48" Foreground="#FF0384C5"/>
            	</Grid>
            </Grid>
        </ScrollViewer>
    </Grid>
</navigation:Page>